package com.woniuxy.school.dietary.order.client;

import com.woniuxy.commons.core.model.Result;
import com.woniuxy.school.dietary.order.entity.DietOrder;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("school-dietary-order")
public interface OrderClient {
    @GetMapping("/dietOrder/findOrderByOrderNum/{orderNum}")
    public Result<DietOrder> findOrderByOrderNum(@PathVariable String orderNum) throws Exception;
}
